package com.yxlcommon.common.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author: yxl
 * @since: 2021-11-22
 **/
@Data
public class Author implements Serializable {

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    private String username;

    private Integer workNum;

    private String authorImg;

    private String introduction;

    private Integer demandNum;

    private List<WorksInfo> worksInfos;

    private OrderItem orderItem;

}
